package com.rp.system.po;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.raptor.entity.BaseModel3;

/**
 * 数据源配置信息表
 * @author HuangJian
 *
 */
@Entity
@Table(name="RP_SYSTEM_DATASOURCE_CONFIGS")
public class DatasourceConfig extends BaseModel3 {

	private static final long serialVersionUID = -4034955810697989422L;
	
	public DatasourceConfig(){}
	
	public DatasourceConfig(String dbType, String url, String username, String password){
		this.dbType = dbType;
		this.url = url;
		this.username = username;
		this.password = password;
	}
	
	private String dbType;
	private String url;
	private String username;
	private String password;
	
	public String getDbType() {
		return dbType;
	}
	public void setDbType(String dbType) {
		this.dbType = dbType;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
}
